#pragma once
#include <Windows.h>
#ifndef _ECUTIL_H_
#define _ECUTIL_H_

#ifdef __cplusplus
extern "C"
{
#endif
	bool InitWMI();
	bool WmiReadEcRam(ULONG64 ullAddr, BYTE *lpVal);
	bool WmiWriteEcRam(ULONG Addr, ULONG Value);
	bool WmiEcVitualCmd(ULONG64 ullAddr, ULONG Value);
	bool oops(const char *msg);

#ifdef __cplusplus

}
#endif
#endif